<template>
  <div>
    <ArticleItem v-for="(itm,i) in obj" :key="itm.id" :arr="itm" @Sele='onSele(i)' />
  </div>
</template>

<script>
export default {
  name: 'Home',
  props: {
    obj: {
      type: Array,
      required: true
    }
  },
  data () {
    return {}
  },
  methods: {
    onSele (i) {
      this.$emit('Sele', i)
    }
  }
}
</script>

<style lang="less" scoped>
</style>
